{extend name="../../admin/view/main"}

{block name="content"}
<div class="think-box-shadow">
<!--    {include file='record/unmatched_data/index_search'}-->
    <table class="layui-table margin-top-10" lay-skin="line">
        {notempty name='list'}
        <thead>
        <tr>
<!--            <th class='list-table-sort-td'>-->
<!--                <button type="button" data-reload class="layui-btn layui-btn-xs">刷 新</button>-->
<!--            </th>-->
            <th class='text-left nowrap'>ID</th>
            <th class='text-left nowrap'>内容消息</th>
<!--            <th class='text-left nowrap'>状态</th>-->
<!--            <th class='text-left nowrap'>操作</th>-->
        </tr>
        </thead>
        {/notempty}
        <tbody>
        {foreach $list as $key=>$vo}
        <tr data-dbclick>
            <td class='text-left nowrap'>
                {$vo.id}<br>
            </td>

            <td class='text-left nowrap'>
                <pre>
                {$vo.text|default='--'}
                </pre>
            </td>

<!--            <td class='text-left nowrap'>-->
<!--                {eq name='vo.is_deal' value='2'}<span class="layui-badge">未处理</span>{else}<span class="layui-badge layui-bg-green">已处理</span>{/eq}-->
<!--            </td>-->

<!--            <td class='text-left nowrap'>-->
<!--                <div class="nowrap margin-bottom-5">-->
<!--                    <a data-dbclick class="layui-btn layui-btn-sm" data-open='{:url("show")}?id={$vo.id}'>查 看</a>-->

                {eq name='vo.is_deal' value='2'}
<!--                    <a class="layui-btn layui-btn-sm layui-btn-danger" data-action="{:url('deal')}" data-value="id#{$vo.id}">处 理</a>-->
                {/eq}
<!--                </div>-->
<!--            </td>-->
        </tr>
        {/foreach}
        </tbody>
    </table>

    {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}

</div>
{/block}
